package com.dingding.es.controller;

import com.dingding.es.operation.Operation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

/**
 * @author liugongding
 * @description:
 * @date 2023/4/12 11:56 PM
 */

@RestController
public class EsController {

    @Autowired
    private Operation operation;

    @GetMapping("/jrebel")
    public void test() throws IOException {
        operation.queryDocumentLambda();
    }
}
